import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: happyiu
 * Date: 2021-10-23
 * Time: 17:16
 */
public class TestDemo {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        System.out.println(add(a,b));

    }
    public static int add(int x, int y) {
        return x + y;
    }

    public static double add(double x, double y, double z) {
        return x + y + z;
    }




        public static void main80(String[] args) {
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            System.out.println("两个整数中最大的是："+max(a,b));
            double i = scan.nextDouble();
            double j = scan.nextDouble();
            System.out.println("两个小数中最大的是："+max(i,j));
            double x = scan.nextDouble();
            double y = scan.nextDouble();
            int k = scan.nextInt();
            System.out.println("两个小数和一个整数中最大的是："+max(i,j,k));
        }
        public static int max(int a,int b) {
            return a>b?a:b;
        }
        public static double max(double i,double j) {
            return i>j?i:j;
        }
        public static double max (double i,double j,int k) {
            return max(max(i,j),k);
        }


        public static void main81(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        System.out.println(Max3(a,b,c));
    }

    public  static int Max2(int a,int b){
        return a>b?a:b;
    }

    public static int Max3(int a, int b, int c){
        return Max2(Max2(a,b),c);
    }


    public static void main82(String[] args) {
        int[] array = {1,2,3,4,5};
        int left = 0;
        int right = array.length-1;
        while (left < right) {
            while (left < right && array[left] % 2 != 0) {
                left++;
            }
            while (left < right && array[right] % 2 == 0) {
                right--;
            }
            int tmp = array[left];
            array[left] = array[right];
            array[right] = tmp;
        }

        for (int i = 0; i < array.length; i++) {
            System.out.print(array[i]+" ");
        }
    }


    public static void main83(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int i = 1;
        int ret = 1;
        while (i <= n) {
            ret = ret * i;
            i++;
        }
        System.out.println(n+"的阶乘的值为"+ret);
    }


    public static void main84(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        System.out.println(fbi2(n));
    }

    public static int fbi2(int n) {
        if(n == 1 || n == 2) {
            return n-1;
        }
        int f1 = 1;
        int f2 = 1;
        int f3 = 0;
        for (int i = 3; i <= n; i++) {
            f3 = f1+f2;
            f1 = f2;
            f2 = f3;
        }
        return f3;
    }

    public static int fbi(int n) {
        if(n == 1 || n == 2) {
            return n-1;
        }else {
            return fbi(n-1) + fbi(n-2);
        }
    }

    public static void main85(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        func(n);
    }

    public static void func(int n) {
        for(int i = 0;i < n;i++) {
            for(int j = 0;j < n;j++) {
                if(i == j) {
                    System.out.print("*");
                }else if(i+j==n-1) {
                    System.out.print("*");
                }else{
                    System.out.print(" ");
                }
            }
            System.out.println();
        }
    }

    public static void main86(String[] args) {

        int[] arr = {1,2,3,3,2,4,1};
        int num = 0;
        for (int i = 0; i <arr.length ; i++) {
            num = num ^arr[i];
        }
        System.out.println("数组中只出现一次的数是:"+num);
    }
    // 输入5
    //    *   *
    //     * *
    //      *
    //     * *
    //    *   *




    public static void main87(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        outPut(num);
    }

    private static void outPut(int num) {
        int[] a = new int[1000];//存放整数的数组
        int i = 0;
        int count = 0;//记录位数
        while (num != 0) {
            a[i++] = num % 10;
            num /= 10;
            count++;
        }
        for (int j = count - 1; j >= 0; j--) {
            System.out.print(a[j]+" ");
        }
    }


    public static void main88(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        Fun(n);
    }

    public static void Fun(int n){

        int count = 0;
        while(n !=0){
            count++;
            n/=10;
        }
        System.out.println(count);
    }



    public static void main89(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        Func(n);
    }

    public static void Func(int n){
        int i = 0;
        for(i=30;i>=0;i-=2){
            System.out.print(((n >> i)&1)+" ");
        }
        System.out.println();
        for(i=31;i>=1;i-=2){
            System.out.print(((n >> i)&1)+" ");
        }
    }



    public static void main90(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        System.out.println(numOfOne(n));
    }
    public static int numOfOne(int n) {
        int count = 0;
        while (n != 0) {
            if((n & 1) == 1) {
                count++;
            }
            n = n >>>1;
        }
        return count;
    }


    public static void main91(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        print(n);
    }
    public static void print(int n) {

        while (n != 0) {
            System.out.print(n%10+" ");//3 2
            n /= 10;//12
        }
    }

    public static void main92(String[] args) {
        Scanner scanner = new Scanner(System.in);
        long n = scanner.nextInt();
        findNum(n);
    }

    public static void findNum(long n) {
        //计算数字的位数
        for (long i = 1; i <= n; i++) {
            long tmp = i;
            int count = 0;//数字的位数
            while (tmp != 0) {
                count++;
                tmp /= 10;
            }

            tmp = i;
            long sum = 0;//自幂的和
            while (tmp != 0) {
                sum += Math.pow(tmp%10,count);
                tmp /= 10;
            }
            if(sum == i) {
                System.out.println(i);
            }
        }
    }


    public static void main93(String[] args) {
        int[] array = {1,2,3,4,5};
        int left = 0;
        int right = array.length-1;
        while (left < right) {
            while (left < right && array[left] % 2 != 0) {
                left++;
            }
            while (left < right && array[right] % 2 == 0) {
                right--;
            }
            int tmp = array[left];
            array[left] = array[right];
            array[right] = tmp;
        }

        for (int i = 0; i < array.length; i++) {
            System.out.print(array[i]+" ");
        }
    }

    public static void main94(String[] args) {
        int[] array = {1,2,3,2,1};
        int sum = array[0];
        for (int i = 1;i < array.length;i++) {
            sum = sum ^ array[i];
        }
        System.out.println(sum);
    }


    public static void main96(String[] args) {
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <= i ; j++) {
                System.out.print(i+"*"+j+"="+i*j+" ");
            }
            System.out.println();
        }
    }

    public static void main95(String[] args) {
        login();
    }

    public static void login() {
        Scanner scanner = new Scanner(System.in);
        int count = 3;
        while (count != 0) {
            System.out.println("请输入你的密码：");
            String password = scanner.nextLine();

            if (password.equals("123456")) {
                System.out.println("登录成功了！");
                break;
            } else {
                count--;
                if (count == 0) {
                    System.out.println("密码错误且机会已经用完，程序关闭！");
                } else {
                    System.out.println("密码错误！你还有 " + count + "次机会！");
                }
            }
        }

    }


    public static void main97(String[] args) {
        int count = 0;
        for (int i = 1; i <= 100; i++) {
            if(i % 10 == 9) {
                count++;
            }
            if(i / 10 == 9) {
                count++;
            }

        }
        System.out.println(count);
    }



    public static void main98(String[] args) {
        double sum = 0.0;
        int flg = 1;
        for (int i = 1; i <= 100 ; i++) {
            sum = sum + 1.0/i * flg;
            flg = -flg;
        }
        System.out.println("1-1/2+1/3-1/4+1/5...+1/99-1/100的值为"+sum);
    }



    public static void main99(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入两位整数:>");
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = a%b;
        while (c != 0) {
            a = b;
            b = c;
            c = a%b;
        }
        System.out.println("最大公约数是"+b);
    }
}
